function gets(pageNum) {
    var a = $("#sample_id").val();
    var wrl = $("#wuranluv").val();
    var year = $("#year").val();
    var month = $("#month").val();
    var day = $("#day").val();
    var toxinType = $("#toxin_type").val();
    var cropSpecie = $("#crop_species").val();
    var shen = $("#shen").val();
    var shi = $("#shi").val();
    var xian = $("#xian").val();
    var pageN = pageNum;
    //alert(1);
    $.ajax({
            url: '/cxsys',
            type: 'post',
            dataType: "json",
            data: {
                sampleId: a,
                wrl: wrl,
                year: year,
                month: month,
                day: day,
                toxinTyoe: toxinType,
                cropSpecie: cropSpecie,
                shen: shen,
                shi: shi,
                xian: xian,
                pageNum:pageN,
            },
            success: function (map) {
                var page = map.pageInfo;
                yibu(page.pages,page.pageNum);
                var dx = page.list;
                var sampleToxins = map.sampleToxins;
                $("#tbodya").empty();
                for (var i = 0; i < dx.length; i++) {
                    var cropCpecielist = dx[i].cropCpecies;
                    var sampleToxinlist = dx[i].sampleToxinInfo;
                    var toxin = "";
                    for (var j = 0; j < sampleToxinlist.length; j++) {
                        toxin += sampleToxinlist[j].toxinType;
                    }
                    var scop = "";
                    for (var k = 0; k < cropCpecielist.length; k++) {
                        scop += cropCpecielist[k].cropSpecies;
                    }
                    var aaa = "<tr>" +
                        "<td><input class='testyangpin' name='checkOnediv' value="+dx[i].id +" type='checkbox'></td>" +
                        "<td class='ybbh' >" + dx[i].sampleId + "</td>" +
                        " <td>" + dx[i].province + dx[i].city + dx[i].county + "</td>" +
                        " <td>" + scop + "</td>" +
                        "  <td>" + new Date(dx[i].samplingTime).toLocaleDateString() + "</td>" +
                        "  <td>" + new Date(dx[i].inputTime).toLocaleDateString() + "</td>" +
                        "  <td>" + dx[i].pollutionRate + "%</td>" +
                        "   <td>" + toxin + "</td>" +
                        "  <td><a href='/findById?sampleId="+ dx[i].id +"'>编辑</a> |<a href='/deleteSampleById?ids="+dx[i].id +"' >删除</a></td>" +
                        "   </tr>"
                    $("#tbodya").append(aaa);
                }

            }
        }
    )
}